clear
clc

Z0 = 50;
f = 500*10^6;
c = 3*10^8;
vp = 0.77*c;
lambda = vp/f;
beta = 2*pi/lambda;

d = 0.65;
zin = -1i*cot(beta*d)

%% 
Yin = -1i*0.05;
zin = 1/Yin/Z0
Zin = 1/Yin

d1 = lambda/(2*pi)*(pi-acot(zin/1i))
